QUICK ANSWER
"Regalo" is a form of "regalo", a noun which is often translated as "present". "Ir a comprar" is a transitive verb phrase which is often translated as "to go to buy". Learn more about the difference between "ir a comprar" and "regalo" below.
ir a comprar(
eer
ah
kohm
-
prahr
)A transitive verb phrase is a phrase that combines a verb with a preposition or other particle and requires a direct object (e.g., take out the trash.).
1. (general)
a. to go to buy
Tengo que ir a comprar comida para la cena de esta noche.I need to go to buy food for tonight's dinner.
b. to go and buy
Siéntense en esta mesa. Yo iré a comprar hamburguesas y las traeré aquí.Sit at this table. I'll go and buy hamburgers and bring them here.
c. to go buy (only in infinitive or future)
Necesito ir a comprar cigarrillos.I need to go buy cigarettes.
el regalo(
rreh
-
gah
-
loh
)A masculine noun is used with masculine articles and adjectives (e.g., el hombre guapo, el sol amarillo).
1. (offering)
2. (figurative) (good deal)
A phrase used as a figure of speech or a word that is symbolic in meaning; metaphorical (e.g., carrot, bean).
a. bargain
La computadora que compré fue un verdadero regalo.The computer I bought was a real bargain.
b. steal (colloquial)
A word or phrase that is commonly used in conversational speech (e.g., skinny, grandma).
¿Ese tablet solo cuesta $50? ¡Es un regalo!That tablet only costs $50? It's a steal!
3. (figurative) (pleasure)
A phrase used as a figure of speech or a word that is symbolic in meaning; metaphorical (e.g., carrot, bean).
4. (culinary)
a. delicacy
La comida que sirvieron en la boda fue un regalo.The food they served at the wedding was a delicacy.